<!-- 展示区组件 -->
<template>
    <div>
        <iframe class="showIf" v-if="url && url != 'undefined'" :src="url" frameborder="0"></iframe>
        <h1 v-else>这里啥也没有</h1>
    </div>
    
</template>
<script>
    export default {
        name:'ShowNote',
        computed:{
            url(){
                return (this.$route.params.url+"").replace('+','/');;
            }
        },
        mounted() {
        },
    }
</script>
<style>
.showIf,div{
    width: 100%;
    height: 100%;
}
h1{
    width: 100%;
    height: 50vh;
    line-height: 50vh;
    font-size: 30px;
    font-family: '幼圆';
    letter-spacing: 2em;
    text-align: center;
}
</style>